package com.sikaryofficial.backend.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sikaryofficial.backend.domain.entity.PointsBalance;

/**
 * 积分余额Service接口
 *
 * @author qinjinyuan
 * @date 2023-10-27
 */
public interface IPointsBalanceService extends IService<PointsBalance> {

    /**
     * 根据用户ID获取积分余额
     *
     * @param userId 用户ID
     * @return 积分余额
     */
    PointsBalance getPointsBalanceByUserId(Long userId);
}
